package com.atguigu.Serivce;


import com.atguigu.Utils.R;
import com.atguigu.pojo.Dish;
import com.atguigu.pojo.Dto.DishDto;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 对于菜品与菜品口味的处理
 */
public interface DishService extends IService<Dish> {
    R addDishAndFlavor(DishDto dishDto);

    R page(Integer page, Integer pageSize, String dishName);

    R reShow(Long id);

    R updateDish(DishDto dishDto);

    R updateStatus(Long id, Long[] ids);

    R delereDish(Long[] ids);

    R listDish(Long categoryId);
}
